package com.atguigu.controller;

import com.atguigu.Service.StudentService;
import com.atguigu.pojo.Student;

import java.util.List;

/**
 * @author Cheng-02
 * @version V1.0
 * @Package com.atguigu.controller
 * @date 2024/4/22 上午11:05
 */
public class StudentController {
    private StudentService studentService;

    public void setStudentService(StudentService studentService) {
        this.studentService = studentService;
    }
    public void findAll(){
        List<Student> all = studentService.findAll();
        System.out.println(all);
    }
}
